﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{

   public  class AbilityLevelBLL
    {
        private static readonly IAbilityLevelDAL AbilityLevelDal = DataAccess.CreateAbilityLevel();
        public static List<AbilityLevel> SelectAbilityLevel()
        {
            return AbilityLevelDal.SelectAbilityLevel();
        }
        public static AbilityLevel SelectAbilityLevelByUserID(string UserID)
        {
            return AbilityLevelDal.SelectAbilityLevelByUserID(UserID);
        }
        public static bool DeleteAbilityLevelByUserID(string UserID)
        {
            return AbilityLevelDal.DeleteAbilityLevel(UserID);
        }
        public static bool InsertAbilityLevel(AbilityLevel cmodel)
        {
            return AbilityLevelDal.InsertAbilityLevel(cmodel);
        }
        public static bool UpdateAbilityLevel(AbilityLevel cmodel)
        {
            return AbilityLevelDal.UpdateAbilityLevel(cmodel);
        }

    }
}
